from zope.interface import Interface
# -*- Additional Imports Here -*-
from zope import schema

from my315ok.xtinfocontent import xtinfocontentMessageFactory as _


class Iiknow(Interface):
    """a answer question content type"""

    # -*- schema definition goes here -*-
    question = schema.SourceText(
        title=_(u"question"),
        required=False,
        description=_(u""),
    )
#
    category = schema.TextLine(
        title=_(u"question category"),
        required=False,
        description=_(u""),
    )
#
    publisher = schema.TextLine(
        title=_(u"publisher"),
        required=True,
        description=_(u""),
    )
#
